<?php /* Smarty version Smarty-3.1.12, created on 2014-07-26 13:54:27
         compiled from "F:\Wshop\wshop\views\index\index.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2083953d342939f5ac8-38183420%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '4f81284327f625de29e2993a31592a01a355f6e1' => 
    array (
      0 => 'F:\\Wshop\\wshop\\views\\index\\index.tpl',
      1 => 1404974278,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '2083953d342939f5ac8-38183420',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'cssversion' => 0,
    'catList' => 0,
    'productHot' => 0,
    'productNew' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_53d34293a9e828_37075358',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_53d34293a9e828_37075358')) {function content_53d34293a9e828_37075358($_smarty_tpl) {?><!DOCTYPE HTML>
<html>
    <head>
        <meta http-equiv=Content-Type content="text/html;charset=utf-8" />
        <title>熹贝母婴用品</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta name="format-detection" content="telephone=no">
        <link href="static/css/StyleSheet.css?v=<?php echo $_smarty_tpl->tpl_vars['cssversion']->value;?>
" type="text/css" rel="stylesheet" />
        <script type="text/javascript" src="static/script/jquery-1.9.1.min.js"></script>
        <script type="text/javascript" src="static/script/main.js"></script>
    </head>
    <body>

        <header class="index-header">
            <div id="topbanner"></div>
            <div id="slider">
                <div class="sliderTip">
                    <i class="sliderTipItems current"></i>
                    <i class="sliderTipItems "></i>
                    <i class="sliderTipItems "></i>
                    <i class="sliderTipItems "></i>
                    <i class="sliderTipItems "></i>
                </div>
                <div class="slider" onclick="location = '?/ViewProduct/view_list/cat=1&searchkey=德国喜宝Hipp';" style="background-image:url('static/images/slider/bgn4.jpg');"></div><div class="slider" onclick="location = '?/ViewProduct/view_list/cat=2&searchkey=Karicare';" style="background-image:url('static/images/slider/bgn1.jpg');"></div><div class="slider" onclick="location = '?/ViewProduct/view_list/cat=1&searchkey=泡泡虫';" style="background-image:url('static/images/slider/bgn2.jpg');"></div><div class="slider" onclick="location = '?/ViewProduct/view_list/cat=1&searchkey=Friso';" style="background-image:url('static/images/slider/bgn3.jpg');"></div><div class="slider" onclick="location = '?/ViewProduct/view_list/cat=1&searchkey=大王';" style="background-image:url('static/images/slider/bgn5.jpg');"></div>
            </div>
        </header>

        <?php echo $_smarty_tpl->getSubTemplate ("../global/search_box1.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>



        

        <div id="home-nav-h">
            <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['ci'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['ci']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['name'] = 'ci';
$_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['catList']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['ci']['total']);
?>
                <div class="nav-btn hftcat<?php echo $_smarty_tpl->tpl_vars['catList']->value[$_smarty_tpl->getVariable('smarty')->value['section']['ci']['index']]['cat_id'];?>
" data-swclass="uc-section-hover" data-link="?/ViewProduct/view_list/cat=<?php echo $_smarty_tpl->tpl_vars['catList']->value[$_smarty_tpl->getVariable('smarty')->value['section']['ci']['index']]['cat_id'];?>
"><?php echo $_smarty_tpl->tpl_vars['catList']->value[$_smarty_tpl->getVariable('smarty')->value['section']['ci']['index']]['cat_name'];?>
</div>
            <?php endfor; endif; ?>
        </div>

        

        <div class="font-product-sec" style="margin-top:0;">
            <div class="fps-title clearfix" onclick="location = '?/ViewProduct/view_list/orderby=`sale_count`';">
                热卖商品
            </div>
            <section class="fbox">
                <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['ph'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['ph']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['name'] = 'ph';
$_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['productHot']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['ph']['total']);
?><section class='font-miaos-box' data-swclass="box-scale" data-link="?/ViewProduct/view/id=<?php echo $_smarty_tpl->tpl_vars['productHot']->value[$_smarty_tpl->getVariable('smarty')->value['section']['ph']['index']]['product_id'];?>
&showwxpaytitle=1"><img class='miaos-boximage' src='static/product_hpic/<?php echo $_smarty_tpl->tpl_vars['productHot']->value[$_smarty_tpl->getVariable('smarty')->value['section']['ph']['index']]['catimg'];?>
' /><i class="psi">&yen;<?php echo $_smarty_tpl->tpl_vars['productHot']->value[$_smarty_tpl->getVariable('smarty')->value['section']['ph']['index']]['sale_prices'];?>
</i></section><?php endfor; endif; ?>
            </section>
        </div>
        <div class="font-product-sec">
            <div class="fps-title clearfix" onclick="location = '?/ViewProduct/view_list';">
                最新上市
            </div>
            <section class="fbox">
                <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['pn'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['pn']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['name'] = 'pn';
$_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['productNew']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['pn']['total']);
?><section class='font-miaos-box' data-swclass="box-scale" data-link="?/ViewProduct/view/id=<?php echo $_smarty_tpl->tpl_vars['productNew']->value[$_smarty_tpl->getVariable('smarty')->value['section']['pn']['index']]['product_id'];?>
&showwxpaytitle=1"><img class='miaos-boximage' src='static/product_hpic/<?php echo $_smarty_tpl->tpl_vars['productNew']->value[$_smarty_tpl->getVariable('smarty')->value['section']['pn']['index']]['catimg'];?>
' /><i class="psi">&yen;<?php echo $_smarty_tpl->tpl_vars['productNew']->value[$_smarty_tpl->getVariable('smarty')->value['section']['pn']['index']]['sale_prices'];?>
</i></section><?php endfor; endif; ?>
            </section>
        </div>
        <script type="text/javascript">
            WeixinJSBridgeReady(homeOnload);
        </script>
        <?php echo $_smarty_tpl->getSubTemplate ("../global/footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

    </body>
</html><?php }} ?>